package com.centsuse.my_redis.service;

import com.centsuse.my_redis.es.entity.Book;

import java.util.List;

/**
 * @author bobo
 */
public interface IBookEsService {

    Book getBook(String isbn);

    List<Book> getAllBooks();

    Book saveBook(Book book);

    void deleteBook(String isbn);

    void createIndexIfNotExists();
}
